<include file="Public/min-header"/>
<section class="wrapper">
    <!-- Main content -->
    <div class="row">
        <div class="col-xs-12">
            <section class="panel">
                <div class="panel-heading">
                    <i class="icon-book"></i>日志管理
                </div>
                <div class="panel-body">
                    <div id="ajax_return">

                    </div>
                </div>
            </section>
        </div>        <!-- /.row -->
    </div>
    <!-- /.content -->
</section>
<!-- /.content-wrapper -->
<script>
    $(document).ready(function(){
        ajax_get_table('search-form2',1);

    });

    // ajax 抓取页面
    function ajax_get_table(tab,page){
        cur_page = page; //当前页面 保存为全局变量
            $.ajax({
                type : "POST",
                url:"/index.php/admin/ajaxlog/p/"+page,//+tab,
                data : $('#'+tab).serialize(),// 你的formid
                success: function(data){
                    $("#ajax_return").html('');
                    $("#ajax_return").append(data);
                }
            });
    }
</script>
</body>
</html>